package com.springmvc.adapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface HandlerAdapter {

    /** 判断是否支持当前处理器 */
    boolean support(Object handler);

    /** 执行处理器方法 */
    Object handle(HttpServletRequest req, HttpServletResponse res, Object handler) throws Exception;
}
